using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace RFCReader
{
    public partial class MySplitContainer : SplitContainer
    {
        public MySplitContainer()
        {
            InitializeComponent();
            SetStyle(System.Windows.Forms.ControlStyles.Opaque | ControlStyles.UserPaint | ControlStyles.ResizeRedraw, true);
        }

        
        protected override void OnKeyDown(KeyEventArgs e)
        {
            ((MainForm)this.Parent).Form1_KeyDown(null, e);
            //Panel2.OnKeyDown(e);
            //base.OnKeyDown(e);
        }
    }
}
